import request from '@/utils/reuqest'
import type { AttrributeVo } from '@/api/product/type'
/**
 *根据parentId获取属性列表
 * @returns
 */
export function getParentId(parentId: string): Promise<Array<AttrributeVo>> {
  return request({
    url: '/product/attribute/parentId',
    method: 'get',
    params: {
      parentId
    }
  })
}
